std::rand
From Cppreference
| Defined in header
<cstdlib> | ||
| void srand( unsigned seed );
| ||
Initializes the built-in random number generator used to generate values for rand() with the seed value seed.
Contents |
Parameters
| seed | - | the seed value |
Return value
(none)
Example
| This section is incomplete |
See also
| generates a pseudo-random number (function) | |